package com.bicon.base.data.pojo.botu;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 运费模板表
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("freight_template")
public class FreightTemplate extends Model<FreightTemplate> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;
    /**
     * 商户id
     */
    @TableField("tenant_id")
    private String tenantId;
    /**
     * 运费模板名称
     */
    private String name;
    /**
     * 计价方式(1件数，2重量，3体积)
     */
    @TableField("valuation_status")
    private Integer valuationStatus;
    /**
     * 是否启用（0:启用，1:未启用）
     */
    private Integer enable;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 删除标志：0正常，1删除
     */
    @TableField("logic_delete")
    private String logicDelete;
    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;
    /**
     * 更新时间
     */
    @TableField("update_date")
    private Date updateDate;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getValuationStatus() {
        return valuationStatus;
    }

    public void setValuationStatus(Integer valuationStatus) {
        this.valuationStatus = valuationStatus;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getLogicDelete() {
        return logicDelete;
    }

    public void setLogicDelete(String logicDelete) {
        this.logicDelete = logicDelete;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "FreightTemplate{" +
        "id=" + id +
        ", tenantId=" + tenantId +
        ", name=" + name +
        ", valuationStatus=" + valuationStatus +
        ", enable=" + enable +
        ", sort=" + sort +
        ", logicDelete=" + logicDelete +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        "}";
    }
}
